<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*"%>
<%@ page import="com.ionglobal.db.*"%>
<%@ page import="com.ionglobal.lib.*"%>
<%@ page import="com.ionglobal.misc.*"%>
<%@ page import="com.ionglobal.cms.*"%>
<%@ page import="com.dhec.ggs.*"%>
<%@ include file="/inc/init_include.jsp" %>
<%@ include file="/inc/checkLogin.jsp" %>
<%
try{
	Request req = new Request(request);
	int appCat = req.getInt("appCat",0);
	int reqId = req.getInt("reqId",0);
	String plink = Request.getString("plink","");
	DataRequestApp dataApp = new DataRequestApp();
	String code = dataApp.generateCode(dbi, appCat);
%>
<script language="javascript">
location.href="dataRequest_view.jsp?plink=<%=plink%>&requestId=<%=reqId%>&code=<%=code%>";
</script>
<%
}catch(Exception ex){}
%>
<%@ include file="/inc/init_free.jsp" %>